#include "CPolygon.h"
void CPolygon::setValues(int a, int b){
	width=a;
	height=b;
}
void COutput::writeln(int i){
	cout<<i<<endl;
}
int CRectangle::area(){
	return(width*height);
}
int CTriangle::area(){
	return((width*height)/2);
}